I_SetSerialDTR
This command sets the DTR signal on the serial port. Use the constant kOTSerialSetDTROff to turn the DTR signal off, and kOTSerialSetDTROn to turn the DTR signal on. The following line of code turns DTR on:
OTIoctl(theSerialEndpoint, I_SetSerialDTR, kOTSerialSetDTROn);Asserting the DTR signal is equivalent to using a serial driver control call with acsCode
value of 1,7 and negating the DTR signal is equivalent to using acsCode
value of 18.